package no_git_group.pages;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

import static org.openqa.selenium.support.ui.ExpectedConditions.*;

public class MoviePage extends AnyPage {

	public MoviePage(PageManager pages) {
		super(pages);
	}

  @FindBy(css = "img[alt=\"Remove\"]")
  private WebElement removeButton;

  public void deleteMovie() {
    removeButton.click();
  	}
}